home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / CIncludes / HIEditText.h < prev    next >
C/C++ Source or Header  |  1996-05-01  |  47KB  |  1,220 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: HIEditText.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.18
  7.  *     SOM Emitter emith.dll: 2.33
  8.  */
  9.  
  10. #ifndef SOM_HIEditText_h
  11. #define SOM_HIEditText_h
  12.  
  13.  
  14. /*
  15.  * Passthru lines: File: "C.h", "before"
  16.  */
  17. #include <Types.h>
  18. #include <Collections.h>
  19. #include <Drag.h>
  20. #include <Events.h>
  21. #include <Quickdraw.h>
  22. #include <TextObjects.h>
  23. #include <TextEngineTypes.h>
  24. #include <TextEngineSystem.h>
  25. #include <TextCommon.h>
  26. #include <MixedMode.h>
  27.  
  28. #include <som.h>
  29.  
  30. /*
  31.  * -- This emitter treats Method Tokens as Thunks by default.
  32.  * -- Use the sc modifier "nothunks" to change this default
  33.  */
  34. #undef somresolve_
  35. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  36.  
  37. /*
  38.  * Define the class name as an object type
  39.  */
  40. #ifndef HIEditText
  41. #define HIEditText SOMObject
  42. #endif
  43. #include <HIPanels.h>
  44.  
  45. /*
  46.  * Start of user-defined types:
  47.  */
  48. #ifndef SOMClass
  49.     #define SOMClass SOMObject
  50. #endif /* SOMClass */
  51. #ifndef SOMObject
  52.     #define SOMObject SOMObject
  53. #endif /* SOMObject */
  54. #ifndef HIWindow
  55.     #define HIWindow SOMObject
  56. #endif /* HIWindow */
  57. #ifndef HIEmbeddingPanel
  58.     #define HIEmbeddingPanel SOMObject
  59. #endif /* HIEmbeddingPanel */
  60.  
  61. /*
  62.  * End of user-defined types.
  63.  */
  64.  
  65. #define HIEditText_MajorVersion 0
  66. #define HIEditText_MinorVersion 0
  67.  
  68. /*
  69.  * External name shortening if required
  70.  */
  71. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  72. #define HIEditTextClassData d
  73. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  74. /*--------------Migration------------*/
  75.  
  76. #ifdef OLDIBMSOMAPISUPPORT
  77. #define HIEditText_classObj somNewClassReference(HIEditText)
  78. #define _HIEditText HIEditText_classObj
  79. #define HIEditTextCClassData HIEditTextClassData
  80. #define HIEditTextNewClass(major,minor) somNewVersionedClassReference(HIEditText,major,minor)
  81. #endif
  82.  
  83. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  84. #define HIEditTextMetaClass SOMClass
  85.  
  86. #if PRAGMA_ALIGN_SUPPORTED
  87. #  pragma options align=power
  88. #endif
  89.  
  90. /*
  91.  * Declare the class data structure
  92.  */
  93. SOMEXTERN struct HIEditTextClassDataStructure {
  94. #ifdef OLDIBMSOMAPISUPPORT
  95.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  96. #else
  97.     long zero;
  98. #endif
  99.     somStaticClassInfo *sci;
  100.     somDToken        instanceDataToken;
  101.     long reserved [3];
  102.     somMToken InitEditTextPanel;
  103.     somMToken GetTextEngine;
  104.     somMToken IsTextReadOnly;
  105.     somMToken IsTextSelectable;
  106.     somMToken IsTextMaskable;
  107.     somMToken MakeTextReadOnly;
  108.     somMToken EnableSelection;
  109.     somMToken SetTextBounds;
  110.     somMToken GetTextBounds;
  111.     somMToken SetMargins;
  112.     somMToken GetMargins;
  113.     somMToken ReplaceTextByTextObject;
  114.     somMToken RepalceSelectionByTextObject;
  115.     somMToken DeleteText;
  116.     somMToken ExtractText;
  117.     somMToken SetTextFont;
  118.     somMToken SetTextSize;
  119.     somMToken SetTextQDFace;
  120.     somMToken SetTextColor;
  121.     somMToken SetTextAlignment;
  122.     somMToken GetTextFont;
  123.     somMToken GetTextSize;
  124.     somMToken GetTextQDFace;
  125.     somMToken GetTextColor;
  126.     somMToken GetTextAlignment;
  127.     somMToken SetOneTextAttribute;
  128.     somMToken GetOneTextAttribute;
  129.     somMToken EnableDrawText;
  130.     somMToken DisableDrawText;
  131.     somMToken IsDrawTextEnabled;
  132.     somMToken SetDirtyFlag;
  133.     somMToken ResetDirtyFlag;
  134.     somMToken IsPanelDirty;
  135.     somMToken reserved0;
  136.     somMToken reserved1;
  137.     somMToken reserved2;
  138.     somMToken GetSelection;
  139.     somMToken SetSelection;
  140.     somMToken RevealText;
  141.     somMToken CreateTextAttributeIterator;
  142.     somMToken TextAttrIteratorGetNextRange;
  143.     somMToken DisposeTextAttrIterator;
  144.     somMToken SetTheTextAttribute;
  145.     somMToken GetContinuousTextAttribute;
  146.     somMToken EnableUICommandInPanel;
  147.     somMToken IsUICommandEnabledInPanel;
  148.     somMToken DisableUICommandInPanel;
  149.     somMToken KeyboardLanguageChanged;
  150.     somMToken ScrollText;
  151.     somMToken GetScrollTextAmount;
  152.     somMToken SetMouseDownTrackActionRoutine;
  153. } SOMDLINK HIEditTextClassData;
  154.  
  155. #if PRAGMA_ALIGN_SUPPORTED
  156. #  pragma options align=reset
  157. #endif
  158.  
  159. #if !defined(HIEditText_Class_Source) && !defined(SOM_Module_hiedittext_Source)
  160. #if PRAGMA_IMPORT_SUPPORTED
  161. #pragma import list HIEditTextClassData
  162. #endif
  163. #endif
  164.  
  165.  
  166. /*
  167.  * New macro for HIEditText
  168.  */
  169. #define HIEditTextNew() somNewObject(HIEditText)
  170.  
  171. /*
  172.  * New Method: InitEditTextPanel
  173.  */
  174. typedef OSStatus   (SOMLINK *somTD_HIEditText_InitEditTextPanel)(HIEditText *somSelf, Environment *ev,
  175.         RefLabel* identifier,
  176.         HIWindow* window,
  177.         Rect* bounds,
  178.         TextEngineID textEngine,
  179.         TextEngineOptions textEngineOptions);
  180. #define somMD_HIEditText_InitEditTextPanel "::HIEditText::InitEditTextPanel"
  181. #define HIEditText_InitEditTextPanel(somSelf,ev,identifier,window,bounds,textEngine,textEngineOptions) \
  182.     (SOM_Resolve(somSelf, HIEditText, InitEditTextPanel) \
  183.     (somSelf,ev,identifier,window,bounds,textEngine,textEngineOptions))
  184. #ifndef SOMGD_InitEditTextPanel
  185.     #if defined _InitEditTextPanel || defined __InitEditTextPanel
  186.         #undef _InitEditTextPanel
  187.         #undef __InitEditTextPanel
  188.         #define SOMGD_InitEditTextPanel 1
  189.     #else
  190.         #define _InitEditTextPanel HIEditText_InitEditTextPanel
  191.     #endif /* _InitEditTextPanel */
  192. #endif /* SOMGD_InitEditTextPanel */
  193.  
  194. /*
  195.  * New Method: GetTextEngine
  196.  */
  197. typedef OSStatus   (SOMLINK *somTD_HIEditText_GetTextEngine)(HIEditText *somSelf, Environment *ev,
  198.         TSystemTextEngine** theEngine);
  199. #define somMD_HIEditText_GetTextEngine "::HIEditText::GetTextEngine"
  200. #define HIEditText_GetTextEngine(somSelf,ev,theEngine) \
  201.     (SOM_Resolve(somSelf, HIEditText, GetTextEngine) \
  202.     (somSelf,ev,theEngine))
  203. #ifndef SOMGD_GetTextEngine
  204.     #if defined _GetTextEngine || defined __GetTextEngine
  205.         #undef _GetTextEngine
  206.         #undef __GetTextEngine
  207.         #define SOMGD_GetTextEngine 1
  208.     #else
  209.         #define _GetTextEngine HIEditText_GetTextEngine
  210.     #endif /* _GetTextEngine */
  211. #endif /* SOMGD_GetTextEngine */
  212.  
  213. /*
  214.  * New Method: IsTextReadOnly
  215.  */
  216. typedef boolean   (SOMLINK *somTD_HIEditText_IsTextReadOnly)(HIEditText *somSelf, Environment *ev);
  217. #define somMD_HIEditText_IsTextReadOnly "::HIEditText::IsTextReadOnly"
  218. #define HIEditText_IsTextReadOnly(somSelf,ev) \
  219.     (SOM_Resolve(somSelf, HIEditText, IsTextReadOnly) \
  220.     (somSelf,ev))
  221. #ifndef SOMGD_IsTextReadOnly
  222.     #if defined _IsTextReadOnly || defined __IsTextReadOnly
  223.         #undef _IsTextReadOnly
  224.         #undef __IsTextReadOnly
  225.         #define SOMGD_IsTextReadOnly 1
  226.     #else
  227.         #define _IsTextReadOnly HIEditText_IsTextReadOnly
  228.     #endif /* _IsTextReadOnly */
  229. #endif /* SOMGD_IsTextReadOnly */
  230.  
  231. /*
  232.  * New Method: MakeTextReadOnly
  233.  */
  234. typedef OSStatus   (SOMLINK *somTD_HIEditText_MakeTextReadOnly)(HIEditText *somSelf, Environment *ev,
  235.         boolean readOnly);
  236. #define somMD_HIEditText_MakeTextReadOnly "::HIEditText::MakeTextReadOnly"
  237. #define HIEditText_MakeTextReadOnly(somSelf,ev,readOnly) \
  238.     (SOM_Resolve(somSelf, HIEditText, MakeTextReadOnly) \
  239.     (somSelf,ev,readOnly))
  240. #ifndef SOMGD_MakeTextReadOnly
  241.     #if defined _MakeTextReadOnly || defined __MakeTextReadOnly
  242.         #undef _MakeTextReadOnly
  243.         #undef __MakeTextReadOnly
  244.         #define SOMGD_MakeTextReadOnly 1
  245.     #else
  246.         #define _MakeTextReadOnly HIEditText_MakeTextReadOnly
  247.     #endif /* _MakeTextReadOnly */
  248. #endif /* SOMGD_MakeTextReadOnly */
  249.  
  250. /*
  251.  * New Method: EnableSelection
  252.  */
  253. typedef OSStatus   (SOMLINK *somTD_HIEditText_EnableSelection)(HIEditText *somSelf, Environment *ev,
  254.         boolean enableIt);
  255. #define somMD_HIEditText_EnableSelection "::HIEditText::EnableSelection"
  256. #define HIEditText_EnableSelection(somSelf,ev,enableIt) \
  257.     (SOM_Resolve(somSelf, HIEditText, EnableSelection) \
  258.     (somSelf,ev,enableIt))
  259. #ifndef SOMGD_EnableSelection
  260.     #if defined _EnableSelection || defined __EnableSelection
  261.         #undef _EnableSelection
  262.         #undef __EnableSelection
  263.         #define SOMGD_EnableSelection 1
  264.     #else
  265.         #define _EnableSelection HIEditText_EnableSelection
  266.     #endif /* _EnableSelection */
  267. #endif /* SOMGD_EnableSelection */
  268.  
  269. /*
  270.  * New Method: IsTextSelectable
  271.  */
  272. typedef boolean   (SOMLINK *somTD_HIEditText_IsTextSelectable)(HIEditText *somSelf, Environment *ev);
  273. #define somMD_HIEditText_IsTextSelectable "::HIEditText::IsTextSelectable"
  274. #define HIEditText_IsTextSelectable(somSelf,ev) \
  275.     (SOM_Resolve(somSelf, HIEditText, IsTextSelectable) \
  276.     (somSelf,ev))
  277. #ifndef SOMGD_IsTextSelectable
  278.     #if defined _IsTextSelectable || defined __IsTextSelectable
  279.         #undef _IsTextSelectable
  280.         #undef __IsTextSelectable
  281.         #define SOMGD_IsTextSelectable 1
  282.     #else
  283.         #define _IsTextSelectable HIEditText_IsTextSelectable
  284.     #endif /* _IsTextSelectable */
  285. #endif /* SOMGD_IsTextSelectable */
  286.  
  287. /*
  288.  * New Method: IsTextMaskable
  289.  */
  290. typedef boolean   (SOMLINK *somTD_HIEditText_IsTextMaskable)(HIEditText *somSelf, Environment *ev);
  291. #define somMD_HIEditText_IsTextMaskable "::HIEditText::IsTextMaskable"
  292. #define HIEditText_IsTextMaskable(somSelf,ev) \
  293.     (SOM_Resolve(somSelf, HIEditText, IsTextMaskable) \
  294.     (somSelf,ev))
  295. #ifndef SOMGD_IsTextMaskable
  296.     #if defined _IsTextMaskable || defined __IsTextMaskable
  297.         #undef _IsTextMaskable
  298.         #undef __IsTextMaskable
  299.         #define SOMGD_IsTextMaskable 1
  300.     #else
  301.         #define _IsTextMaskable HIEditText_IsTextMaskable
  302.     #endif /* _IsTextMaskable */
  303. #endif /* SOMGD_IsTextMaskable */
  304.  
  305. /*
  306.  * New Method: SetTextBounds
  307.  */
  308. typedef OSStatus   (SOMLINK *somTD_HIEditText_SetTextBounds)(HIEditText *somSelf, Environment *ev,
  309.         UInt32 width,
  310.         UInt32 height);
  311. #define somMD_HIEditText_SetTextBounds "::HIEditText::SetTextBounds"
  312. #define HIEditText_SetTextBounds(somSelf,ev,width,height) \
  313.     (SOM_Resolve(somSelf, HIEditText, SetTextBounds) \
  314.     (somSelf,ev,width,height))
  315. #ifndef SOMGD_SetTextBounds
  316.     #if defined _SetTextBounds || defined __SetTextBounds
  317.         #undef _SetTextBounds
  318.         #undef __SetTextBounds
  319.         #define SOMGD_SetTextBounds 1
  320.     #else
  321.         #define _SetTextBounds HIEditText_SetTextBounds
  322.     #endif /* _SetTextBounds */
  323. #endif /* SOMGD_SetTextBounds */
  324.  
  325. /*
  326.  * New Method: GetTextBounds
  327.  */
  328. typedef OSStatus   (SOMLINK *somTD_HIEditText_GetTextBounds)(HIEditText *somSelf, Environment *ev,
  329.         UInt32* width,
  330.         UInt32* height);
  331. #define somMD_HIEditText_GetTextBounds "::HIEditText::GetTextBounds"
  332. #define HIEditText_GetTextBounds(somSelf,ev,width,height) \
  333.     (SOM_Resolve(somSelf, HIEditText, GetTextBounds) \
  334.     (somSelf,ev,width,height))
  335. #ifndef SOMGD_GetTextBounds
  336.     #if defined _GetTextBounds || defined __GetTextBounds
  337.         #undef _GetTextBounds
  338.         #undef __GetTextBounds
  339.         #define SOMGD_GetTextBounds 1
  340.     #else
  341.         #define _GetTextBounds HIEditText_GetTextBounds
  342.     #endif /* _GetTextBounds */
  343. #endif /* SOMGD_GetTextBounds */
  344.  
  345. /*
  346.  * New Method: SetMargins
  347.  */
  348. typedef OSStatus   (SOMLINK *somTD_HIEditText_SetMargins)(HIEditText *somSelf, Environment *ev,
  349.         Rect* marginOffsets);
  350. #define somMD_HIEditText_SetMargins "::HIEditText::SetMargins"
  351. #define HIEditText_SetMargins(somSelf,ev,marginOffsets) \
  352.     (SOM_Resolve(somSelf, HIEditText, SetMargins) \
  353.     (somSelf,ev,marginOffsets))
  354. #ifndef SOMGD_SetMargins
  355.     #if defined _SetMargins || defined __SetMargins
  356.         #undef _SetMargins
  357.         #undef __SetMargins
  358.         #define SOMGD_SetMargins 1
  359.     #else
  360.         #define _SetMargins HIEditText_SetMargins
  361.     #endif /* _SetMargins */
  362. #endif /* SOMGD_SetMargins */
  363.  
  364. /*
  365.  * New Method: GetMargins
  366.  */
  367. typedef OSStatus   (SOMLINK *somTD_HIEditText_GetMargins)(HIEditText *somSelf, Environment *ev,
  368.         Rect* marginOffsets);
  369. #define somMD_HIEditText_GetMargins "::HIEditText::GetMargins"
  370. #define HIEditText_GetMargins(somSelf,ev,marginOffsets) \
  371.     (SOM_Resolve(somSelf, HIEditText, GetMargins) \
  372.     (somSelf,ev,marginOffsets))
  373. #ifndef SOMGD_GetMargins
  374.     #if defined _GetMargins || defined __GetMargins
  375.         #undef _GetMargins
  376.         #undef __GetMargins
  377.         #define SOMGD_GetMargins 1
  378.     #else
  379.         #define _GetMargins HIEditText_GetMargins
  380.     #endif /* _GetMargins */
  381. #endif /* SOMGD_GetMargins */
  382.  
  383. /*
  384.  * New Method: ReplaceTextByTextObject
  385.  */
  386. typedef OSStatus   (SOMLINK *somTD_HIEditText_ReplaceTextByTextObject)(HIEditText *somSelf, Environment *ev,
  387.         ByteOffset startIndex,
  388.         ByteOffset endIndex,
  389.         TextObject theText);
  390. #define somMD_HIEditText_ReplaceTextByTextObject "::HIEditText::ReplaceTextByTextObject"
  391. #define HIEditText_ReplaceTextByTextObject(somSelf,ev,startIndex,endIndex,theText) \
  392.     (SOM_Resolve(somSelf, HIEditText, ReplaceTextByTextObject) \
  393.     (somSelf,ev,startIndex,endIndex,theText))
  394. #ifndef SOMGD_ReplaceTextByTextObject
  395.     #if defined _ReplaceTextByTextObject || defined __ReplaceTextByTextObject
  396.         #undef _ReplaceTextByTextObject
  397.         #undef __ReplaceTextByTextObject
  398.         #define SOMGD_ReplaceTextByTextObject 1
  399.     #else
  400.         #define _ReplaceTextByTextObject HIEditText_ReplaceTextByTextObject
  401.     #endif /* _ReplaceTextByTextObject */
  402. #endif /* SOMGD_ReplaceTextByTextObject */
  403.  
  404. /*
  405.  * New Method: RepalceSelectionByTextObject
  406.  */
  407. typedef OSStatus   (SOMLINK *somTD_HIEditText_RepalceSelectionByTextObject)(HIEditText *somSelf, Environment *ev,
  408.         TextObject theText);
  409. #define somMD_HIEditText_RepalceSelectionByTextObject "::HIEditText::RepalceSelectionByTextObject"
  410. #define HIEditText_RepalceSelectionByTextObject(somSelf,ev,theText) \
  411.     (SOM_Resolve(somSelf, HIEditText, RepalceSelectionByTextObject) \
  412.     (somSelf,ev,theText))
  413. #ifndef SOMGD_RepalceSelectionByTextObject
  414.     #if defined _RepalceSelectionByTextObject || defined __RepalceSelectionByTextObject
  415.         #undef _RepalceSelectionByTextObject
  416.         #undef __RepalceSelectionByTextObject
  417.         #define SOMGD_RepalceSelectionByTextObject 1
  418.     #else
  419.         #define _RepalceSelectionByTextObject HIEditText_RepalceSelectionByTextObject
  420.     #endif /* _RepalceSelectionByTextObject */
  421. #endif /* SOMGD_RepalceSelectionByTextObject */
  422.  
  423. /*
  424.  * New Method: DeleteText
  425.  */
  426. typedef OSStatus   (SOMLINK *somTD_HIEditText_DeleteText)(HIEditText *somSelf, Environment *ev,
  427.         ByteOffset startIndex,
  428.         ByteOffset endIndex);
  429. #define somMD_HIEditText_DeleteText "::HIEditText::DeleteText"
  430. #define HIEditText_DeleteText(somSelf,ev,startIndex,endIndex) \
  431.     (SOM_Resolve(somSelf, HIEditText, DeleteText) \
  432.     (somSelf,ev,startIndex,endIndex))
  433. #ifndef SOMGD_DeleteText
  434.     #if defined _DeleteText || defined __DeleteText
  435.         #undef _DeleteText
  436.         #undef __DeleteText
  437.         #define SOMGD_DeleteText 1
  438.     #else
  439.         #define _DeleteText HIEditText_DeleteText
  440.     #endif /* _DeleteText */
  441. #endif /* SOMGD_DeleteText */
  442.  
  443. /*
  444.  * New Method: ExtractText
  445.  */
  446. typedef OSStatus   (SOMLINK *somTD_HIEditText_ExtractText)(HIEditText *somSelf, Environment *ev,
  447.         ByteOffset startIndex,
  448.         ByteOffset endIndex,
  449.         TextObject* newTextObject);
  450. #define somMD_HIEditText_ExtractText "::HIEditText::ExtractText"
  451. #define HIEditText_ExtractText(somSelf,ev,startIndex,endIndex,newTextObject) \
  452.     (SOM_Resolve(somSelf, HIEditText, ExtractText) \
  453.     (somSelf,ev,startIndex,endIndex,newTextObject))
  454. #ifndef SOMGD_ExtractText
  455.     #if defined _ExtractText || defined __ExtractText
  456.         #undef _ExtractText
  457.         #undef __ExtractText
  458.         #define SOMGD_ExtractText 1
  459.     #else
  460.         #define _ExtractText HIEditText_ExtractText
  461.     #endif /* _ExtractText */
  462. #endif /* SOMGD_ExtractText */
  463.  
  464. /*
  465.  * New Method: SetTextFont
  466.  */
  467. typedef OSStatus   (SOMLINK *somTD_HIEditText_SetTextFont)(HIEditText *somSelf, Environment *ev,
  468.         ByteOffset startIndex,
  469.         ByteOffset endIndex,
  470.         Str255 fontName);
  471. #define somMD_HIEditText_SetTextFont "::HIEditText::SetTextFont"
  472. #define HIEditText_SetTextFont(somSelf,ev,startIndex,endIndex,fontName) \
  473.     (SOM_Resolve(somSelf, HIEditText, SetTextFont) \
  474.     (somSelf,ev,startIndex,endIndex,fontName))
  475. #ifndef SOMGD_SetTextFont
  476.     #if defined _SetTextFont || defined __SetTextFont
  477.         #undef _SetTextFont
  478.         #undef __SetTextFont
  479.         #define SOMGD_SetTextFont 1
  480.     #else
  481.         #define _SetTextFont HIEditText_SetTextFont
  482.     #endif /* _SetTextFont */
  483. #endif /* SOMGD_SetTextFont */
  484.  
  485. /*
  486.  * New Method: SetTextSize
  487.  */
  488. typedef OSStatus   (SOMLINK *somTD_HIEditText_SetTextSize)(HIEditText *somSelf, Environment *ev,
  489.         ByteOffset startIndex,
  490.         ByteOffset endIndex,
  491.         UInt16 textSize);
  492. #define somMD_HIEditText_SetTextSize "::HIEditText::SetTextSize"
  493. #define HIEditText_SetTextSize(somSelf,ev,startIndex,endIndex,textSize) \
  494.     (SOM_Resolve(somSelf, HIEditText, SetTextSize) \
  495.     (somSelf,ev,startIndex,endIndex,textSize))
  496. #ifndef SOMGD_SetTextSize
  497.     #if defined _SetTextSize || defined __SetTextSize
  498.         #undef _SetTextSize
  499.         #undef __SetTextSize
  500.         #define SOMGD_SetTextSize 1
  501.     #else
  502.         #define _SetTextSize HIEditText_SetTextSize
  503.     #endif /* _SetTextSize */
  504. #endif /* SOMGD_SetTextSize */
  505.  
  506. /*
  507.  * New Method: SetTextQDFace
  508.  */
  509. typedef OSStatus   (SOMLINK *somTD_HIEditText_SetTextQDFace)(HIEditText *somSelf, Environment *ev,
  510.         ByteOffset startIndex,
  511.         ByteOffset endIndex,
  512.         TextFontFace theQDFace,
  513.         boolean switchIt);
  514. #define somMD_HIEditText_SetTextQDFace "::HIEditText::SetTextQDFace"
  515. #define HIEditText_SetTextQDFace(somSelf,ev,startIndex,endIndex,theQDFace,switchIt) \
  516.     (SOM_Resolve(somSelf, HIEditText, SetTextQDFace) \
  517.     (somSelf,ev,startIndex,endIndex,theQDFace,switchIt))
  518. #ifndef SOMGD_SetTextQDFace
  519.     #if defined _SetTextQDFace || defined __SetTextQDFace
  520.         #undef _SetTextQDFace
  521.         #undef __SetTextQDFace
  522.         #define SOMGD_SetTextQDFace 1
  523.     #else
  524.         #define _SetTextQDFace HIEditText_SetTextQDFace
  525.     #endif /* _SetTextQDFace */
  526. #endif /* SOMGD_SetTextQDFace */
  527.  
  528. /*
  529.  * New Method: SetTextColor
  530.  */
  531. typedef OSStatus   (SOMLINK *somTD_HIEditText_SetTextColor)(HIEditText *somSelf, Environment *ev,
  532.         ByteOffset startIndex,
  533.         ByteOffset endIndex,
  534.         RGBColor* theColor);
  535. #define somMD_HIEditText_SetTextColor "::HIEditText::SetTextColor"
  536. #define HIEditText_SetTextColor(somSelf,ev,startIndex,endIndex,theColor) \
  537.     (SOM_Resolve(somSelf, HIEditText, SetTextColor) \
  538.     (somSelf,ev,startIndex,endIndex,theColor))
  539. #ifndef SOMGD_SetTextColor
  540.     #if defined _SetTextColor || defined __SetTextColor
  541.         #undef _SetTextColor
  542.         #undef __SetTextColor
  543.         #define SOMGD_SetTextColor 1
  544.     #else
  545.         #define _SetTextColor HIEditText_SetTextColor
  546.     #endif /* _SetTextColor */
  547. #endif /* SOMGD_SetTextColor */
  548.  
  549. /*
  550.  * New Method: SetTextAlignment
  551.  */
  552. typedef OSStatus   (SOMLINK *somTD_HIEditText_SetTextAlignment)(HIEditText *somSelf, Environment *ev,
  553.         ByteOffset startIndex,
  554.         ByteOffset endIndex,
  555.         TextAlignment align);
  556. #define somMD_HIEditText_SetTextAlignment "::HIEditText::SetTextAlignment"
  557. #define HIEditText_SetTextAlignment(somSelf,ev,startIndex,endIndex,align) \
  558.     (SOM_Resolve(somSelf, HIEditText, SetTextAlignment) \
  559.     (somSelf,ev,startIndex,endIndex,align))
  560. #ifndef SOMGD_SetTextAlignment
  561.     #if defined _SetTextAlignment || defined __SetTextAlignment
  562.         #undef _SetTextAlignment
  563.         #undef __SetTextAlignment
  564.         #define SOMGD_SetTextAlignment 1
  565.     #else
  566.         #define _SetTextAlignment HIEditText_SetTextAlignment
  567.     #endif /* _SetTextAlignment */
  568. #endif /* SOMGD_SetTextAlignment */
  569.  
  570. /*
  571.  * New Method: GetTextFont
  572.  */
  573. typedef OSStatus   (SOMLINK *somTD_HIEditText_GetTextFont)(HIEditText *somSelf, Environment *ev,
  574.         ByteOffset startIndex,
  575.         ByteOffset endIndex,
  576.         Str255* fontName);
  577. #define somMD_HIEditText_GetTextFont "::HIEditText::GetTextFont"
  578. #define HIEditText_GetTextFont(somSelf,ev,startIndex,endIndex,fontName) \
  579.     (SOM_Resolve(somSelf, HIEditText, GetTextFont) \
  580.     (somSelf,ev,startIndex,endIndex,fontName))
  581. #ifndef SOMGD_GetTextFont
  582.     #if defined _GetTextFont || defined __GetTextFont
  583.         #undef _GetTextFont
  584.         #undef __GetTextFont
  585.         #define SOMGD_GetTextFont 1
  586.     #else
  587.         #define _GetTextFont HIEditText_GetTextFont
  588.     #endif /* _GetTextFont */
  589. #endif /* SOMGD_GetTextFont */
  590.  
  591. /*
  592.  * New Method: GetTextSize
  593.  */
  594. typedef OSStatus   (SOMLINK *somTD_HIEditText_GetTextSize)(HIEditText *somSelf, Environment *ev,
  595.         ByteOffset startIndex,
  596.         ByteOffset endIndex,
  597.         UInt16* textSize);
  598. #define somMD_HIEditText_GetTextSize "::HIEditText::GetTextSize"
  599. #define HIEditText_GetTextSize(somSelf,ev,startIndex,endIndex,textSize) \
  600.     (SOM_Resolve(somSelf, HIEditText, GetTextSize) \
  601.     (somSelf,ev,startIndex,endIndex,textSize))
  602. #ifndef SOMGD_GetTextSize
  603.     #if defined _GetTextSize || defined __GetTextSize
  604.         #undef _GetTextSize
  605.         #undef __GetTextSize
  606.         #define SOMGD_GetTextSize 1
  607.     #else
  608.         #define _GetTextSize HIEditText_GetTextSize
  609.     #endif /* _GetTextSize */
  610. #endif /* SOMGD_GetTextSize */
  611.  
  612. /*
  613.  * New Method: GetTextQDFace
  614.  */
  615. typedef OSStatus   (SOMLINK *somTD_HIEditText_GetTextQDFace)(HIEditText *somSelf, Environment *ev,
  616.         ByteOffset startIndex,
  617.         ByteOffset endIndex,
  618.         TextFontFace* theQDFace);
  619. #define somMD_HIEditText_GetTextQDFace "::HIEditText::GetTextQDFace"
  620. #define HIEditText_GetTextQDFace(somSelf,ev,startIndex,endIndex,theQDFace) \
  621.     (SOM_Resolve(somSelf, HIEditText, GetTextQDFace) \
  622.     (somSelf,ev,startIndex,endIndex,theQDFace))
  623. #ifndef SOMGD_GetTextQDFace
  624.     #if defined _GetTextQDFace || defined __GetTextQDFace
  625.         #undef _GetTextQDFace
  626.         #undef __GetTextQDFace
  627.         #define SOMGD_GetTextQDFace 1
  628.     #else
  629.         #define _GetTextQDFace HIEditText_GetTextQDFace
  630.     #endif /* _GetTextQDFace */
  631. #endif /* SOMGD_GetTextQDFace */
  632.  
  633. /*
  634.  * New Method: GetTextColor
  635.  */
  636. typedef OSStatus   (SOMLINK *somTD_HIEditText_GetTextColor)(HIEditText *somSelf, Environment *ev,
  637.         ByteOffset startIndex,
  638.         ByteOffset endIndex,
  639.         RGBColor* theColor);
  640. #define somMD_HIEditText_GetTextColor "::HIEditText::GetTextColor"
  641. #define HIEditText_GetTextColor(somSelf,ev,startIndex,endIndex,theColor) \
  642.     (SOM_Resolve(somSelf, HIEditText, GetTextColor) \
  643.     (somSelf,ev,startIndex,endIndex,theColor))
  644. #ifndef SOMGD_GetTextColor
  645.     #if defined _GetTextColor || defined __GetTextColor
  646.         #undef _GetTextColor
  647.         #undef __GetTextColor
  648.         #define SOMGD_GetTextColor 1
  649.     #else
  650.         #define _GetTextColor HIEditText_GetTextColor
  651.     #endif /* _GetTextColor */
  652. #endif /* SOMGD_GetTextColor */
  653.  
  654. /*
  655.  * New Method: GetTextAlignment
  656.  */
  657. typedef OSStatus   (SOMLINK *somTD_HIEditText_GetTextAlignment)(HIEditText *somSelf, Environment *ev,
  658.         ByteOffset startIndex,
  659.         ByteOffset endIndex,
  660.         TextAlignment* align);
  661. #define somMD_HIEditText_GetTextAlignment "::HIEditText::GetTextAlignment"
  662. #define HIEditText_GetTextAlignment(somSelf,ev,startIndex,endIndex,align) \
  663.     (SOM_Resolve(somSelf, HIEditText, GetTextAlignment) \
  664.     (somSelf,ev,startIndex,endIndex,align))
  665. #ifndef SOMGD_GetTextAlignment
  666.     #if defined _GetTextAlignment || defined __GetTextAlignment
  667.         #undef _GetTextAlignment
  668.         #undef __GetTextAlignment
  669.         #define SOMGD_GetTextAlignment 1
  670.     #else
  671.         #define _GetTextAlignment HIEditText_GetTextAlignment
  672.     #endif /* _GetTextAlignment */
  673. #endif /* SOMGD_GetTextAlignment */
  674.  
  675. /*
  676.  * New Method: SetOneTextAttribute
  677.  */
  678. typedef OSStatus   (SOMLINK *somTD_HIEditText_SetOneTextAttribute)(HIEditText *somSelf, Environment *ev,
  679.         ByteOffset startIndex,
  680.         ByteOffset endIndex,
  681.         TextAttributeTag theAttribute,
  682.         void* theValuePtr,
  683.         ByteCount theValueSize);
  684. #define somMD_HIEditText_SetOneTextAttribute "::HIEditText::SetOneTextAttribute"
  685. #define HIEditText_SetOneTextAttribute(somSelf,ev,startIndex,endIndex,theAttribute,theValuePtr,theValueSize) \
  686.     (SOM_Resolve(somSelf, HIEditText, SetOneTextAttribute) \
  687.     (somSelf,ev,startIndex,endIndex,theAttribute,theValuePtr,theValueSize))
  688. #ifndef SOMGD_SetOneTextAttribute
  689.     #if defined _SetOneTextAttribute || defined __SetOneTextAttribute
  690.         #undef _SetOneTextAttribute
  691.         #undef __SetOneTextAttribute
  692.         #define SOMGD_SetOneTextAttribute 1
  693.     #else
  694.         #define _SetOneTextAttribute HIEditText_SetOneTextAttribute
  695.     #endif /* _SetOneTextAttribute */
  696. #endif /* SOMGD_SetOneTextAttribute */
  697.  
  698. /*
  699.  * New Method: GetOneTextAttribute
  700.  */
  701. typedef OSStatus   (SOMLINK *somTD_HIEditText_GetOneTextAttribute)(HIEditText *somSelf, Environment *ev,
  702.         ByteOffset startIndex,
  703.         ByteOffset endIndex,
  704.         TextAttributeTag theAttribute,
  705.         ByteCount theAvailableSize,
  706.         void** theValuePtr,
  707.         ByteCount* theValueSize);
  708. #define somMD_HIEditText_GetOneTextAttribute "::HIEditText::GetOneTextAttribute"
  709. #define HIEditText_GetOneTextAttribute(somSelf,ev,startIndex,endIndex,theAttribute,theAvailableSize,theValuePtr,theValueSize) \
  710.     (SOM_Resolve(somSelf, HIEditText, GetOneTextAttribute) \
  711.     (somSelf,ev,startIndex,endIndex,theAttribute,theAvailableSize,theValuePtr,theValueSize))
  712. #ifndef SOMGD_GetOneTextAttribute
  713.     #if defined _GetOneTextAttribute || defined __GetOneTextAttribute
  714.         #undef _GetOneTextAttribute
  715.         #undef __GetOneTextAttribute
  716.         #define SOMGD_GetOneTextAttribute 1
  717.     #else
  718.         #define _GetOneTextAttribute HIEditText_GetOneTextAttribute
  719.     #endif /* _GetOneTextAttribute */
  720. #endif /* SOMGD_GetOneTextAttribute */
  721.  
  722. /*
  723.  * New Method: EnableDrawText
  724.  */
  725. typedef OSStatus   (SOMLINK *somTD_HIEditText_EnableDrawText)(HIEditText *somSelf, Environment *ev);
  726. #define somMD_HIEditText_EnableDrawText "::HIEditText::EnableDrawText"
  727. #define HIEditText_EnableDrawText(somSelf,ev) \
  728.     (SOM_Resolve(somSelf, HIEditText, EnableDrawText) \
  729.     (somSelf,ev))
  730. #ifndef SOMGD_EnableDrawText
  731.     #if defined _EnableDrawText || defined __EnableDrawText
  732.         #undef _EnableDrawText
  733.         #undef __EnableDrawText
  734.         #define SOMGD_EnableDrawText 1
  735.     #else
  736.         #define _EnableDrawText HIEditText_EnableDrawText
  737.     #endif /* _EnableDrawText */
  738. #endif /* SOMGD_EnableDrawText */
  739.  
  740. /*
  741.  * New Method: DisableDrawText
  742.  */
  743. typedef OSStatus   (SOMLINK *somTD_HIEditText_DisableDrawText)(HIEditText *somSelf, Environment *ev);
  744. #define somMD_HIEditText_DisableDrawText "::HIEditText::DisableDrawText"
  745. #define HIEditText_DisableDrawText(somSelf,ev) \
  746.     (SOM_Resolve(somSelf, HIEditText, DisableDrawText) \
  747.     (somSelf,ev))
  748. #ifndef SOMGD_DisableDrawText
  749.     #if defined _DisableDrawText || defined __DisableDrawText
  750.         #undef _DisableDrawText
  751.         #undef __DisableDrawText
  752.         #define SOMGD_DisableDrawText 1
  753.     #else
  754.         #define _DisableDrawText HIEditText_DisableDrawText
  755.     #endif /* _DisableDrawText */
  756. #endif /* SOMGD_DisableDrawText */
  757.  
  758. /*
  759.  * New Method: IsDrawTextEnabled
  760.  */
  761. typedef boolean   (SOMLINK *somTD_HIEditText_IsDrawTextEnabled)(HIEditText *somSelf, Environment *ev);
  762. #define somMD_HIEditText_IsDrawTextEnabled "::HIEditText::IsDrawTextEnabled"
  763. #define HIEditText_IsDrawTextEnabled(somSelf,ev) \
  764.     (SOM_Resolve(somSelf, HIEditText, IsDrawTextEnabled) \
  765.     (somSelf,ev))
  766. #ifndef SOMGD_IsDrawTextEnabled
  767.     #if defined _IsDrawTextEnabled || defined __IsDrawTextEnabled
  768.         #undef _IsDrawTextEnabled
  769.         #undef __IsDrawTextEnabled
  770.         #define SOMGD_IsDrawTextEnabled 1
  771.     #else
  772.         #define _IsDrawTextEnabled HIEditText_IsDrawTextEnabled
  773.     #endif /* _IsDrawTextEnabled */
  774. #endif /* SOMGD_IsDrawTextEnabled */
  775.  
  776. /*
  777.  * New Method: SetDirtyFlag
  778.  */
  779. typedef OSStatus   (SOMLINK *somTD_HIEditText_SetDirtyFlag)(HIEditText *somSelf, Environment *ev);
  780. #define somMD_HIEditText_SetDirtyFlag "::HIEditText::SetDirtyFlag"
  781. #define HIEditText_SetDirtyFlag(somSelf,ev) \
  782.     (SOM_Resolve(somSelf, HIEditText, SetDirtyFlag) \
  783.     (somSelf,ev))
  784. #ifndef SOMGD_SetDirtyFlag
  785.     #if defined _SetDirtyFlag || defined __SetDirtyFlag
  786.         #undef _SetDirtyFlag
  787.         #undef __SetDirtyFlag
  788.         #define SOMGD_SetDirtyFlag 1
  789.     #else
  790.         #define _SetDirtyFlag HIEditText_SetDirtyFlag
  791.     #endif /* _SetDirtyFlag */
  792. #endif /* SOMGD_SetDirtyFlag */
  793.  
  794. /*
  795.  * New Method: ResetDirtyFlag
  796.  */
  797. typedef OSStatus   (SOMLINK *somTD_HIEditText_ResetDirtyFlag)(HIEditText *somSelf, Environment *ev);
  798. #define somMD_HIEditText_ResetDirtyFlag "::HIEditText::ResetDirtyFlag"
  799. #define HIEditText_ResetDirtyFlag(somSelf,ev) \
  800.     (SOM_Resolve(somSelf, HIEditText, ResetDirtyFlag) \
  801.     (somSelf,ev))
  802. #ifndef SOMGD_ResetDirtyFlag
  803.     #if defined _ResetDirtyFlag || defined __ResetDirtyFlag
  804.         #undef _ResetDirtyFlag
  805.         #undef __ResetDirtyFlag
  806.         #define SOMGD_ResetDirtyFlag 1
  807.     #else
  808.         #define _ResetDirtyFlag HIEditText_ResetDirtyFlag
  809.     #endif /* _ResetDirtyFlag */
  810. #endif /* SOMGD_ResetDirtyFlag */
  811.  
  812. /*
  813.  * New Method: IsPanelDirty
  814.  */
  815. typedef boolean   (SOMLINK *somTD_HIEditText_IsPanelDirty)(HIEditText *somSelf, Environment *ev);
  816. #define somMD_HIEditText_IsPanelDirty "::HIEditText::IsPanelDirty"
  817. #define HIEditText_IsPanelDirty(somSelf,ev) \
  818.     (SOM_Resolve(somSelf, HIEditText, IsPanelDirty) \
  819.     (somSelf,ev))
  820. #ifndef SOMGD_IsPanelDirty
  821.     #if defined _IsPanelDirty || defined __IsPanelDirty
  822.         #undef _IsPanelDirty
  823.         #undef __IsPanelDirty
  824.         #define SOMGD_IsPanelDirty 1
  825.     #else
  826.         #define _IsPanelDirty HIEditText_IsPanelDirty
  827.     #endif /* _IsPanelDirty */
  828. #endif /* SOMGD_IsPanelDirty */
  829.  
  830. /*
  831.  * New Method: GetSelection
  832.  */
  833. typedef OSStatus   (SOMLINK *somTD_HIEditText_GetSelection)(HIEditText *somSelf, Environment *ev,
  834.         ByteOffset* startIndex,
  835.         ByteOffset* endIndex);
  836. #define somMD_HIEditText_GetSelection "::HIEditText::GetSelection"
  837. #define HIEditText_GetSelection(somSelf,ev,startIndex,endIndex) \
  838.     (SOM_Resolve(somSelf, HIEditText, GetSelection) \
  839.     (somSelf,ev,startIndex,endIndex))
  840. #ifndef SOMGD_GetSelection
  841.     #if defined _GetSelection || defined __GetSelection
  842.         #undef _GetSelection
  843.         #undef __GetSelection
  844.         #define SOMGD_GetSelection 1
  845.     #else
  846.         #define _GetSelection HIEditText_GetSelection
  847.     #endif /* _GetSelection */
  848. #endif /* SOMGD_GetSelection */
  849.  
  850. /*
  851.  * New Method: SetSelection
  852.  */
  853. typedef OSStatus   (SOMLINK *somTD_HIEditText_SetSelection)(HIEditText *somSelf, Environment *ev,
  854.         ByteOffset startIndex,
  855.         ByteOffset endIndex);
  856. #define somMD_HIEditText_SetSelection "::HIEditText::SetSelection"
  857. #define HIEditText_SetSelection(somSelf,ev,startIndex,endIndex) \
  858.     (SOM_Resolve(somSelf, HIEditText, SetSelection) \
  859.     (somSelf,ev,startIndex,endIndex))
  860. #ifndef SOMGD_SetSelection
  861.     #if defined _SetSelection || defined __SetSelection
  862.         #undef _SetSelection
  863.         #undef __SetSelection
  864.         #define SOMGD_SetSelection 1
  865.     #else
  866.         #define _SetSelection HIEditText_SetSelection
  867.     #endif /* _SetSelection */
  868. #endif /* SOMGD_SetSelection */
  869.  
  870. /*
  871.  * New Method: RevealText
  872.  */
  873. typedef OSStatus   (SOMLINK *somTD_HIEditText_RevealText)(HIEditText *somSelf, Environment *ev,
  874.         ByteOffset startIndex,
  875.         ByteOffset endIndex,
  876.         boolean revealBegin);
  877. #define somMD_HIEditText_RevealText "::HIEditText::RevealText"
  878. #define HIEditText_RevealText(somSelf,ev,startIndex,endIndex,revealBegin) \
  879.     (SOM_Resolve(somSelf, HIEditText, RevealText) \
  880.     (somSelf,ev,startIndex,endIndex,revealBegin))
  881. #ifndef SOMGD_RevealText
  882.     #if defined _RevealText || defined __RevealText
  883.         #undef _RevealText
  884.         #undef __RevealText
  885.         #define SOMGD_RevealText 1
  886.     #else
  887.         #define _RevealText HIEditText_RevealText
  888.     #endif /* _RevealText */
  889. #endif /* SOMGD_RevealText */
  890.  
  891. /*
  892.  * New Method: CreateTextAttributeIterator
  893.  */
  894. typedef OSStatus   (SOMLINK *somTD_HIEditText_CreateTextAttributeIterator)(HIEditText *somSelf, Environment *ev,
  895.         ByteOffset startIndex,
  896.         ByteOffset endIndex,
  897.         Collection textAttributeFilterCollection,
  898.         TextAttributeIteratorRef* iterationRef);
  899. #define somMD_HIEditText_CreateTextAttributeIterator "::HIEditText::CreateTextAttributeIterator"
  900. #define HIEditText_CreateTextAttributeIterator(somSelf,ev,startIndex,endIndex,textAttributeFilterCollection,iterationRef) \
  901.     (SOM_Resolve(somSelf, HIEditText, CreateTextAttributeIterator) \
  902.     (somSelf,ev,startIndex,endIndex,textAttributeFilterCollection,iterationRef))
  903. #ifndef SOMGD_CreateTextAttributeIterator
  904.     #if defined _CreateTextAttributeIterator || defined __CreateTextAttributeIterator
  905.         #undef _CreateTextAttributeIterator
  906.         #undef __CreateTextAttributeIterator
  907.         #define SOMGD_CreateTextAttributeIterator 1
  908.     #else
  909.         #define _CreateTextAttributeIterator HIEditText_CreateTextAttributeIterator
  910.     #endif /* _CreateTextAttributeIterator */
  911. #endif /* SOMGD_CreateTextAttributeIterator */
  912.  
  913. /*
  914.  * New Method: TextAttrIteratorGetNextRange
  915.  */
  916. typedef OSStatus   (SOMLINK *somTD_HIEditText_TextAttrIteratorGetNextRange)(HIEditText *somSelf, Environment *ev,
  917.         TextAttributeIteratorRef iterationRef,
  918.         ByteOffset* startIndex,
  919.         ByteOffset* endIndex,
  920.         Collection textAttrCollection);
  921. #define somMD_HIEditText_TextAttrIteratorGetNextRange "::HIEditText::TextAttrIteratorGetNextRange"
  922. #define HIEditText_TextAttrIteratorGetNextRange(somSelf,ev,iterationRef,startIndex,endIndex,textAttrCollection) \
  923.     (SOM_Resolve(somSelf, HIEditText, TextAttrIteratorGetNextRange) \
  924.     (somSelf,ev,iterationRef,startIndex,endIndex,textAttrCollection))
  925. #ifndef SOMGD_TextAttrIteratorGetNextRange
  926.     #if defined _TextAttrIteratorGetNextRange || defined __TextAttrIteratorGetNextRange
  927.         #undef _TextAttrIteratorGetNextRange
  928.         #undef __TextAttrIteratorGetNextRange
  929.         #define SOMGD_TextAttrIteratorGetNextRange 1
  930.     #else
  931.         #define _TextAttrIteratorGetNextRange HIEditText_TextAttrIteratorGetNextRange
  932.     #endif /* _TextAttrIteratorGetNextRange */
  933. #endif /* SOMGD_TextAttrIteratorGetNextRange */
  934.  
  935. /*
  936.  * New Method: DisposeTextAttrIterator
  937.  */
  938. typedef OSStatus   (SOMLINK *somTD_HIEditText_DisposeTextAttrIterator)(HIEditText *somSelf, Environment *ev,
  939.         TextAttributeIteratorRef theIterator);
  940. #define somMD_HIEditText_DisposeTextAttrIterator "::HIEditText::DisposeTextAttrIterator"
  941. #define HIEditText_DisposeTextAttrIterator(somSelf,ev,theIterator) \
  942.     (SOM_Resolve(somSelf, HIEditText, DisposeTextAttrIterator) \
  943.     (somSelf,ev,theIterator))
  944. #ifndef SOMGD_DisposeTextAttrIterator
  945.     #if defined _DisposeTextAttrIterator || defined __DisposeTextAttrIterator
  946.         #undef _DisposeTextAttrIterator
  947.         #undef __DisposeTextAttrIterator
  948.         #define SOMGD_DisposeTextAttrIterator 1
  949.     #else
  950.         #define _DisposeTextAttrIterator HIEditText_DisposeTextAttrIterator
  951.     #endif /* _DisposeTextAttrIterator */
  952. #endif /* SOMGD_DisposeTextAttrIterator */
  953.  
  954. /*
  955.  * New Method: SetTheTextAttribute
  956.  */
  957. typedef OSStatus   (SOMLINK *somTD_HIEditText_SetTheTextAttribute)(HIEditText *somSelf, Environment *ev,
  958.         ByteOffset startIndex,
  959.         ByteOffset endIndex,
  960.         Collection textAttrCollection);
  961. #define somMD_HIEditText_SetTheTextAttribute "::HIEditText::SetTheTextAttribute"
  962. #define HIEditText_SetTheTextAttribute(somSelf,ev,startIndex,endIndex,textAttrCollection) \
  963.     (SOM_Resolve(somSelf, HIEditText, SetTheTextAttribute) \
  964.     (somSelf,ev,startIndex,endIndex,textAttrCollection))
  965. #ifndef SOMGD_SetTheTextAttribute
  966.     #if defined _SetTheTextAttribute || defined __SetTheTextAttribute
  967.         #undef _SetTheTextAttribute
  968.         #undef __SetTheTextAttribute
  969.         #define SOMGD_SetTheTextAttribute 1
  970.     #else
  971.         #define _SetTheTextAttribute HIEditText_SetTheTextAttribute
  972.     #endif /* _SetTheTextAttribute */
  973. #endif /* SOMGD_SetTheTextAttribute */
  974.  
  975. /*
  976.  * New Method: GetContinuousTextAttribute
  977.  */
  978. typedef OSStatus   (SOMLINK *somTD_HIEditText_GetContinuousTextAttribute)(HIEditText *somSelf, Environment *ev,
  979.         ByteOffset startIndex,
  980.         ByteOffset endIndex,
  981.         Collection textAttrCollection);
  982. #define somMD_HIEditText_GetContinuousTextAttribute "::HIEditText::GetContinuousTextAttribute"
  983. #define HIEditText_GetContinuousTextAttribute(somSelf,ev,startIndex,endIndex,textAttrCollection) \
  984.     (SOM_Resolve(somSelf, HIEditText, GetContinuousTextAttribute) \
  985.     (somSelf,ev,startIndex,endIndex,textAttrCollection))
  986. #ifndef SOMGD_GetContinuousTextAttribute
  987.     #if defined _GetContinuousTextAttribute || defined __GetContinuousTextAttribute
  988.         #undef _GetContinuousTextAttribute
  989.         #undef __GetContinuousTextAttribute
  990.         #define SOMGD_GetContinuousTextAttribute 1
  991.     #else
  992.         #define _GetContinuousTextAttribute HIEditText_GetContinuousTextAttribute
  993.     #endif /* _GetContinuousTextAttribute */
  994. #endif /* SOMGD_GetContinuousTextAttribute */
  995.  
  996. /*
  997.  * New Method: EnableUICommandInPanel
  998.  */
  999. typedef OSStatus   (SOMLINK *somTD_HIEditText_EnableUICommandInPanel)(HIEditText *somSelf, Environment *ev);
  1000. #define somMD_HIEditText_EnableUICommandInPanel "::HIEditText::EnableUICommandInPanel"
  1001. #define HIEditText_EnableUICommandInPanel(somSelf,ev) \
  1002.     (SOM_Resolve(somSelf, HIEditText, EnableUICommandInPanel) \
  1003.     (somSelf,ev))
  1004. #ifndef SOMGD_EnableUICommandInPanel
  1005.     #if defined _EnableUICommandInPanel || defined __EnableUICommandInPanel
  1006.         #undef _EnableUICommandInPanel
  1007.         #undef __EnableUICommandInPanel
  1008.         #define SOMGD_EnableUICommandInPanel 1
  1009.     #else
  1010.         #define _EnableUICommandInPanel HIEditText_EnableUICommandInPanel
  1011.     #endif /* _EnableUICommandInPanel */
  1012. #endif /* SOMGD_EnableUICommandInPanel */
  1013.  
  1014. /*
  1015.  * New Method: DisableUICommandInPanel
  1016.  */
  1017. typedef OSStatus   (SOMLINK *somTD_HIEditText_DisableUICommandInPanel)(HIEditText *somSelf, Environment *ev);
  1018. #define somMD_HIEditText_DisableUICommandInPanel "::HIEditText::DisableUICommandInPanel"
  1019. #define HIEditText_DisableUICommandInPanel(somSelf,ev) \
  1020.     (SOM_Resolve(somSelf, HIEditText, DisableUICommandInPanel) \
  1021.     (somSelf,ev))
  1022. #ifndef SOMGD_DisableUICommandInPanel
  1023.     #if defined _DisableUICommandInPanel || defined __DisableUICommandInPanel
  1024.         #undef _DisableUICommandInPanel
  1025.         #undef __DisableUICommandInPanel
  1026.         #define SOMGD_DisableUICommandInPanel 1
  1027.     #else
  1028.         #define _DisableUICommandInPanel HIEditText_DisableUICommandInPanel
  1029.     #endif /* _DisableUICommandInPanel */
  1030. #endif /* SOMGD_DisableUICommandInPanel */
  1031.  
  1032. /*
  1033.  * New Method: IsUICommandEnabledInPanel
  1034.  */
  1035. typedef boolean   (SOMLINK *somTD_HIEditText_IsUICommandEnabledInPanel)(HIEditText *somSelf, Environment *ev);
  1036. #define somMD_HIEditText_IsUICommandEnabledInPanel "::HIEditText::IsUICommandEnabledInPanel"
  1037. #define HIEditText_IsUICommandEnabledInPanel(somSelf,ev) \
  1038.     (SOM_Resolve(somSelf, HIEditText, IsUICommandEnabledInPanel) \
  1039.     (somSelf,ev))
  1040. #ifndef SOMGD_IsUICommandEnabledInPanel
  1041.     #if defined _IsUICommandEnabledInPanel || defined __IsUICommandEnabledInPanel
  1042.         #undef _IsUICommandEnabledInPanel
  1043.         #undef __IsUICommandEnabledInPanel
  1044.         #define SOMGD_IsUICommandEnabledInPanel 1
  1045.     #else
  1046.         #define _IsUICommandEnabledInPanel HIEditText_IsUICommandEnabledInPanel
  1047.     #endif /* _IsUICommandEnabledInPanel */
  1048. #endif /* SOMGD_IsUICommandEnabledInPanel */
  1049.  
  1050. /*
  1051.  * New Method: KeyboardLanguageChanged
  1052.  */
  1053. typedef OSStatus   (SOMLINK *somTD_HIEditText_KeyboardLanguageChanged)(HIEditText *somSelf, Environment *ev,
  1054.         LocaleIdentifier theLocaleID);
  1055. #define somMD_HIEditText_KeyboardLanguageChanged "::HIEditText::KeyboardLanguageChanged"
  1056. #define HIEditText_KeyboardLanguageChanged(somSelf,ev,theLocaleID) \
  1057.     (SOM_Resolve(somSelf, HIEditText, KeyboardLanguageChanged) \
  1058.     (somSelf,ev,theLocaleID))
  1059. #ifndef SOMGD_KeyboardLanguageChanged
  1060.     #if defined _KeyboardLanguageChanged || defined __KeyboardLanguageChanged
  1061.         #undef _KeyboardLanguageChanged
  1062.         #undef __KeyboardLanguageChanged
  1063.         #define SOMGD_KeyboardLanguageChanged 1
  1064.     #else
  1065.         #define _KeyboardLanguageChanged HIEditText_KeyboardLanguageChanged
  1066.     #endif /* _KeyboardLanguageChanged */
  1067. #endif /* SOMGD_KeyboardLanguageChanged */
  1068.  
  1069. /*
  1070.  * New Method: ScrollText
  1071.  */
  1072. typedef OSStatus   (SOMLINK *somTD_HIEditText_ScrollText)(HIEditText *somSelf, Environment *ev,
  1073.         UInt32 dh,
  1074.         UInt32 dv);
  1075. #define somMD_HIEditText_ScrollText "::HIEditText::ScrollText"
  1076. #define HIEditText_ScrollText(somSelf,ev,dh,dv) \
  1077.     (SOM_Resolve(somSelf, HIEditText, ScrollText) \
  1078.     (somSelf,ev,dh,dv))
  1079. #ifndef SOMGD_ScrollText
  1080.     #if defined _ScrollText || defined __ScrollText
  1081.         #undef _ScrollText
  1082.         #undef __ScrollText
  1083.         #define SOMGD_ScrollText 1
  1084.     #else
  1085.         #define _ScrollText HIEditText_ScrollText
  1086.     #endif /* _ScrollText */
  1087. #endif /* SOMGD_ScrollText */
  1088.  
  1089. /*
  1090.  * New Method: GetScrollTextAmount
  1091.  */
  1092. typedef OSStatus   (SOMLINK *somTD_HIEditText_GetScrollTextAmount)(HIEditText *somSelf, Environment *ev,
  1093.         UInt32* dh,
  1094.         UInt32* dv);
  1095. #define somMD_HIEditText_GetScrollTextAmount "::HIEditText::GetScrollTextAmount"
  1096. #define HIEditText_GetScrollTextAmount(somSelf,ev,dh,dv) \
  1097.     (SOM_Resolve(somSelf, HIEditText, GetScrollTextAmount) \
  1098.     (somSelf,ev,dh,dv))
  1099. #ifndef SOMGD_GetScrollTextAmount
  1100.     #if defined _GetScrollTextAmount || defined __GetScrollTextAmount
  1101.         #undef _GetScrollTextAmount
  1102.         #undef __GetScrollTextAmount
  1103.         #define SOMGD_GetScrollTextAmount 1
  1104.     #else
  1105.         #define _GetScrollTextAmount HIEditText_GetScrollTextAmount
  1106.     #endif /* _GetScrollTextAmount */
  1107. #endif /* SOMGD_GetScrollTextAmount */
  1108.  
  1109. /*
  1110.  * New Method: SetMouseDownTrackActionRoutine
  1111.  */
  1112. typedef OSStatus   (SOMLINK *somTD_HIEditText_SetMouseDownTrackActionRoutine)(HIEditText *somSelf, Environment *ev,
  1113.         MouseDownInTextPanelTrackProcPtr theMouseTrackProcPtr,
  1114.         void* userData);
  1115. #define somMD_HIEditText_SetMouseDownTrackActionRoutine "::HIEditText::SetMouseDownTrackActionRoutine"
  1116. #define HIEditText_SetMouseDownTrackActionRoutine(somSelf,ev,theMouseTrackProcPtr,userData) \
  1117.     (SOM_Resolve(somSelf, HIEditText, SetMouseDownTrackActionRoutine) \
  1118.     (somSelf,ev,theMouseTrackProcPtr,userData))
  1119. #ifndef SOMGD_SetMouseDownTrackActionRoutine
  1120.     #if defined _SetMouseDownTrackActionRoutine || defined __SetMouseDownTrackActionRoutine
  1121.         #undef _SetMouseDownTrackActionRoutine
  1122.         #undef __SetMouseDownTrackActionRoutine
  1123.         #define SOMGD_SetMouseDownTrackActionRoutine 1
  1124.     #else
  1125.         #define _SetMouseDownTrackActionRoutine HIEditText_SetMouseDownTrackActionRoutine
  1126.     #endif /* _SetMouseDownTrackActionRoutine */
  1127. #endif /* SOMGD_SetMouseDownTrackActionRoutine */
  1128. #ifndef SOM_DONT_USE_INHERITED_MACROS
  1129. #define HIEditText_GetEmbeddingParent HIPanel_GetEmbeddingParent
  1130. #define HIEditText_InitPanel HIPanel_InitPanel
  1131. #define HIEditText_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
  1132. #define HIEditText_HasValidContent HIPanel_HasValidContent
  1133. #define HIEditText_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
  1134. #define HIEditText_GetWindow HIObject_GetWindow
  1135. #define HIEditText_GetPort HIObject_GetPort
  1136. #define HIEditText_GetRefLabel HIObject_GetRefLabel
  1137. #define HIEditText_GetCollection HIObject_GetCollection
  1138. #define HIEditText_Init HIObject_Init
  1139. #define HIEditText_Terminate HIObject_Terminate
  1140. #define HIEditText_Clone HIObject_Clone
  1141. #define HIEditText_Release HIObject_Release
  1142. #define HIEditText_GetOwnerCount HIObject_GetOwnerCount
  1143. #define HIEditText_InitFromAERecord HIObject_InitFromAERecord
  1144. #define HIEditText_WriteToAERecord HIObject_WriteToAERecord
  1145. #define HIEditText_CalculateOptimalSize HIObject_CalculateOptimalSize
  1146. #define HIEditText_GetBoundingRect HIObject_GetBoundingRect
  1147. #define HIEditText_SetBoundingRect HIObject_SetBoundingRect
  1148. #define HIEditText_SetPosition HIObject_SetPosition
  1149. #define HIEditText_SetSize HIObject_SetSize
  1150. #define HIEditText_GetUpdateRect HIObject_GetUpdateRect
  1151. #define HIEditText_Enable HIObject_Enable
  1152. #define HIEditText_Disable HIObject_Disable
  1153. #define HIEditText_IsEnabled HIObject_IsEnabled
  1154. #define HIEditText_Show HIObject_Show
  1155. #define HIEditText_Hide HIObject_Hide
  1156. #define HIEditText_IsVisible HIObject_IsVisible
  1157. #define HIEditText_HandleAppleEvent HIObject_HandleAppleEvent
  1158. #define HIEditText_HandleActivate HIObject_HandleActivate
  1159. #define HIEditText_HandleDeactivate HIObject_HandleDeactivate
  1160. #define HIEditText_HandleNavigation HIObject_HandleNavigation
  1161. #define HIEditText_HandleMouseDownInContent HIObject_HandleMouseDownInContent
  1162. #define HIEditText_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
  1163. #define HIEditText_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
  1164. #define HIEditText_HandleMouseUpInContent HIObject_HandleMouseUpInContent
  1165. #define HIEditText_TakeUserInputFocus HIObject_TakeUserInputFocus
  1166. #define HIEditText_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
  1167. #define HIEditText_HasUserInputFocus HIObject_HasUserInputFocus
  1168. #define HIEditText_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
  1169. #define HIEditText_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
  1170. #define HIEditText_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
  1171. #define HIEditText_SetTitle HIObject_SetTitle
  1172. #define HIEditText_GetTitle HIObject_GetTitle
  1173. #define HIEditText_Draw HIObject_Draw
  1174. #define HIEditText_Erase HIObject_Erase
  1175. #define HIEditText_Invalidate HIObject_Invalidate
  1176. #define HIEditText_GetDrawingMode HIObject_GetDrawingMode
  1177. #define HIEditText_SetDrawingMode HIObject_SetDrawingMode
  1178. #define HIEditText_SetBackgroundPattern HIObject_SetBackgroundPattern
  1179. #define HIEditText_GetBackgroundPattern HIObject_GetBackgroundPattern
  1180. #define HIEditText_Cut HIObject_Cut
  1181. #define HIEditText_Copy HIObject_Copy
  1182. #define HIEditText_Paste HIObject_Paste
  1183. #define HIEditText_Clear HIObject_Clear
  1184. #define HIEditText_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
  1185. #define HIEditText_AddStateChangeCallback HIObject_AddStateChangeCallback
  1186. #define HIEditText_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
  1187. #define HIEditText_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
  1188. #define HIEditText_GetNewHIObject HIObject_GetNewHIObject
  1189. #define HIEditText_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
  1190. #define HIEditText_DrawContent HIObject_DrawContent
  1191. #define HIEditText_EraseContent HIObject_EraseContent
  1192. #define HIEditText_TranslatePoint HIObject_TranslatePoint
  1193. #define HIEditText_TranslateRect HIObject_TranslateRect
  1194. #define HIEditText_StateChanged HIObject_StateChanged
  1195. #define HIEditText_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
  1196. #define HIEditText_Verify HIObject_Verify
  1197. #define HIEditText_somInit SOMObject_somInit
  1198. #define HIEditText_somUninit SOMObject_somUninit
  1199. #define HIEditText_somDuplicateReference SOMObject_somDuplicateReference
  1200. #define HIEditText_somCompareReference SOMObject_somCompareReference
  1201. #define HIEditText_somRelease SOMObject_somRelease
  1202. #define HIEditText_somFree SOMObject_somFree
  1203. #define HIEditText_somCanDelete SOMObject_somCanDelete
  1204. #define HIEditText_somGetClass SOMObject_somGetClass
  1205. #define HIEditText_somGetClassName SOMObject_somGetClassName
  1206. #define HIEditText_somGetSize SOMObject_somGetSize
  1207. #define HIEditText_somIsA SOMObject_somIsA
  1208. #define HIEditText_somRespondsTo SOMObject_somRespondsTo
  1209. #define HIEditText_somIsInstanceOf SOMObject_somIsInstanceOf
  1210. #define HIEditText_somDispatch SOMObject_somDispatch
  1211. #define HIEditText_somClassDispatch SOMObject_somClassDispatch
  1212. #define HIEditText_somCastObj SOMObject_somCastObj
  1213. #define HIEditText_somResetObj SOMObject_somResetObj
  1214. #define HIEditText_somPrintSelf SOMObject_somPrintSelf
  1215. #define HIEditText_somDumpSelf SOMObject_somDumpSelf
  1216. #define HIEditText_somDumpSelfInt SOMObject_somDumpSelfInt
  1217. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  1218.  
  1219. #endif       /* SOM_HIEditText_h */
  1220.